package com.gtw.modules.sys.service;

import com.gtw.modules.entity.TbDiscount;

import java.util.List;
import java.util.Map;

/** 优惠接口
 * Created by wuye on 2018/1/31.
 */
public interface SysDiscountService {

    TbDiscount queryObject(Integer id);

    List<TbDiscount> queryList(Map<String, Object> map);

    int queryTotal(Map<String, Object> map);

    void save(TbDiscount discount);

    void update(TbDiscount discount);

    void delete(Integer id);

    void deleteBatch(Integer[] ids);
}
